<?php

	$no_rek = $laporan_data['no_rekening'];
	$nama = 'Iis Nurhayati';
	$nama_pemilik = 'Mahmud';
	$alamat = 'jl. raya ujungberung';
	$kota = 'Bandung';
	$bulan = '01';//$laporan_data['bulan'];
	$tahun = '2012';
	$jenis_pajak = '1';//$laporan_data['jenis_pajak'];
	$kode_setoran = '2';//$laporan_data['kode_setoran'];
	$keterangan = $laporan_data['keterangan'];
	$jumlah = '22000'; //$laporan_data['jumlah'];
	$terbilang = 'dua puluh dua';//$laporan_data['terbilang'];
	$sekarang = date("j").' '.nama_bulan(date("m")).' '.date("Y");

$jenis_agunan = 'Motor';
$no_reg_agunan = 'D 3 WI';
$nama_pemegang = 'yoyoi';
$jumlah_kredit = 'yoyoi';
$tujuan_kredit = 'yoyoi';
$sifat_kredit = 'yoyoi';
$jasa = 'yoyoi';
$jangka_waktu = 'yoyoi';
$pembayaran_a = 'yoyoi';
$pembayaran_b = 'yoyoi';
$pembayaran_c = 'yoyoi';
$pembayaran_d = 'yoyoi';
$biaya_adm = 'Rp. 40.000.-';
$tgl_disetujui = '21 April 2010';
$tgl_pelunasan = '21 April 2011';
//$pdf=new FPDF('P','mm','A4'); 
$this->fpdf = new FPDF('P','cm','a4'); 
$this->fpdf->SetMargins(1,1,1);
$this->fpdf->SetAutoPageBreak(true,1);
$this->fpdf->Open();
$this->fpdf->AliasNbPages();
$this->fpdf->AddPage();
/*utilities*/
$tab1 = 5;
$tab2 = 8;
$line1 = 0.6;
$space = '          ';
$spacettd = '('.$space.$space.$space.')';
$this->fpdf->Ln(0.22);
$this->fpdf->Image('images/laporan/logo_koperasi.jpg',1.5,1.55,3,3);
$this->fpdf->SetFont('Arial','B',14);
//$y=$this->fpdf->GetX();
//$this->fpdf->SetX($y+2.5);
$this->fpdf->Ln();
$this->fpdf->Cell(0,0,'KOPERASI WIRAUSAHA SEJAHTERA MANDIRI',0,0,'C');
$this->fpdf->Ln(0.7);
$this->fpdf->SetFont('Arial','B',20);
$this->fpdf->Cell(0,0,'KSM',0,0,'C');
$this->fpdf->Ln(0.7);
$this->fpdf->SetFont('Arial','B',12);
$this->fpdf->Cell(0,0,'KOTA BANDUNG',0,0,'C');
$this->fpdf->Ln(0.45);
$this->fpdf->SetFont('Arial','B',10);
$this->fpdf->Cell(0,0,'Badan Hukum Nomor : 25/BH/KDK-10.21/III/2001',0,0,'C');
$this->fpdf->Ln(0.45);
$this->fpdf->SetFont('Arial','',10);
$this->fpdf->Cell(0,0,'Jl. H. Zakaria No.8 Babakan Ciparay',0,0,'C');
$this->fpdf->Ln(0.45);
$this->fpdf->SetFont('Arial','',10);
$this->fpdf->Cell(0,0,'Telp. (022) 6076503',0,0,'C');
$this->fpdf->Image('images/laporan/logo_ksm.jpg',17,1.65,3,3);
$this->fpdf->Ln(0.8);
$this->fpdf->Cell(0,0,"",'TLBR',0,'C',0);
$this->fpdf->Ln(0.1);
$this->fpdf->Cell(0,0,"",'TLBR',0,'C',0);
$this->fpdf->Ln(0.45);
$this->fpdf->SetFont('Arial','BU',12);
$this->fpdf->Cell(0,0,'SURAT PERJANJIAN KREDIT',0,0,'C');

$this->fpdf->Ln(1);
$this->fpdf->SetFont('Times','',11);
$this->fpdf->Cell($tab1,0,$space .'No. Rekening ',0,0,'L');
$this->fpdf->Cell(0,0,': ' . $no_rek,0,0,'L');
$this->fpdf->Ln($line1);
$this->fpdf->Cell($tab1,0,$space .'Nama ',0,0,'L');
$this->fpdf->Cell(0,0,': ' . $nama,0,0,'L');
$this->fpdf->Ln($line1);
$this->fpdf->Cell($tab1,0,$space .'Tempat / Tgl Lahir ',0,0,'L');
$this->fpdf->Cell(0,0,': ' . $nama,0,0,'L');
$this->fpdf->Ln($line1);
$this->fpdf->Cell($tab1,0,$space .'Alamat ',0,0,'L');
$this->fpdf->Cell(0,0,': ' . $alamat,0,0,'L');
$this->fpdf->Ln($line1);
$this->fpdf->Cell($tab1,0,$space .'  ',0,0,'L');
$this->fpdf->Cell(0,0,'  Babakan Ciparay',0,0,'L');
$this->fpdf->Ln($line1);
$this->fpdf->Cell($tab1,0,$space .'Telp / Hp ',0,0,'L');
$this->fpdf->Cell(0,0,': ' . '085722234929',0,0,'L');
$this->fpdf->Ln(1);
$this->fpdf->Cell($tab1,0,$space .'Berdasarkan hasil penilaian dan analisa petugas atau komite kredit, maka permohonan kredit saudara ',0,0,'L');
$this->fpdf->Ln($line1);
$this->fpdf->Cell($tab1,0,$space .'dapat kami setujui dengan ketetapan sebagai berikut :',0,0,'L');
$this->fpdf->Ln(1);
$this->fpdf->Cell($tab2,0,$space .'1. Dengan Agunan berupa',0,0,'L');
$this->fpdf->Cell(0,0,': ' . $alamat,0,0,'L');
$this->fpdf->Ln($line1);
$this->fpdf->Cell($tab2,0,$space .'     a. No. Anggota/Reg',0,0,'L');
$this->fpdf->Cell(0,0,': ' . '-',0,0,'L');
$this->fpdf->Ln($line1);
$this->fpdf->Cell($tab2,0,$space .'     b. Nama pemegang',0,0,'L');
$this->fpdf->Cell(0,0,': ' . $nama,0,0,'L');
$this->fpdf->Ln($line1);
$this->fpdf->Cell($tab2,0,$space .'2. Jumlah kredit',0,0,'L');
$this->fpdf->Cell(0,0,': ' . 'Rp 2.000.000,- (Dua Juta Rupiah)',0,0,'L');
$this->fpdf->Ln($line1);
$this->fpdf->Cell($tab2,0,$space .'3. Tujuan kredit',0,0,'L');
$this->fpdf->Cell(0,0,': ' . 'sofi syamilatul',0,0,'L');
$this->fpdf->Ln($line1);
$this->fpdf->Cell($tab2,0,$space .'4. Sifat kredit',0,0,'L');
$this->fpdf->Cell(0,0,': ' . 'sofi syamilatul',0,0,'L');
$this->fpdf->Ln($line1);
$this->fpdf->Cell($tab2,0,$space .'5. Jasa',0,0,'L');
$this->fpdf->Cell(0,0,': ' . 'sofi syamilatul',0,0,'L');
$this->fpdf->Ln($line1);
$this->fpdf->Cell($tab2,0,$space .'6. Jangka waktu pengembalian',0,0,'L');
$this->fpdf->Cell(0,0,': ' . 'sofi syamilatul',0,0,'L');
$this->fpdf->Ln($line1);
$this->fpdf->Cell($tab2,0,$space .'7. Pembayaran',0,0,'L');
$this->fpdf->Cell(0,0,': ' . 'sofi syamilatul',0,0,'L');
$this->fpdf->Ln($line1);
$this->fpdf->Cell($tab2,0,$space .'',0,0,'L');
$this->fpdf->Cell(0,0,'  ' . 'a. Diangsur 12 Kali angsuran',0,0,'L');
$this->fpdf->Ln($line1);
$this->fpdf->Cell($tab2,0,$space .'',0,0,'L');
$this->fpdf->Cell(0,0,'  ' . 'b. Besar angsuran Rp. 226.666,-/ Perbulan',0,0,'L');
$this->fpdf->Ln($line1);
$this->fpdf->Cell($tab2,0,$space .'',0,0,'L');
$this->fpdf->Cell(0,0,'  ' . 'c. Angsuran dilakukan setiap satu bulan sekali',0,0,'L');
$this->fpdf->Ln($line1);
$this->fpdf->Cell($tab2,0,$space .'',0,0,'L');
$this->fpdf->Cell(0,0,'  ' . 'd. Pembayaran pertama mulai 21 Juni 2010',0,0,'L');
$this->fpdf->Ln($line1);
$this->fpdf->Cell($tab2,0,$space .'',0,0,'L');
$this->fpdf->Cell(0,0,'  ' . '    (pada tanggal yang sama) dan Seterusnya',0,0,'L');
$this->fpdf->Ln($line1);
$this->fpdf->Cell($tab2,0,$space .'8. Denda',0,0,'L');
$this->fpdf->Cell(0,0,': ' . 'Denda  dikenakan  0.5 %  per Hari  atas',0,0,'L');
$this->fpdf->Ln($line1);
$this->fpdf->Cell($tab2,0,$space .'9. Biaya administrasi',0,0,'L');
$this->fpdf->Cell(0,0,': ' . $biaya_adm,0,0,'L');
$this->fpdf->Ln($line1);
$this->fpdf->Cell($tab2,0,$space .'10. Pelunasan sampai dengan Tgl',0,0,'L');
$this->fpdf->Cell(0,0,': ' . $tgl_pelunasan,0,0,'L');
$this->fpdf->Ln(1);
$this->fpdf->Cell($tab2,0,$space .'Ditetapkan dan disetujui bersama pada tanggal '. $tgl_disetujui,0,0,'L');
$this->fpdf->Ln(1.7);
$this->fpdf->Cell($tab2,0,$space .$space .'Ketua                                  Sekretaris                       Penerima kredit                   Menyetujui  ',0,0,'L');
$this->fpdf->Ln(2.5);
$this->fpdf->Cell($tab2,0,$space.'   '.$spacettd.$space.$spacettd.$space.$spacettd.$space.$spacettd.' ',0,0,'L');
$this->fpdf->SetFont('Arial','U',11);
$this->fpdf->Ln(0.0);
$this->fpdf->Cell(1.5,0,'',0,0,'C');
$this->fpdf->Cell(0,0,$nama,0,0,'L');
$this->fpdf->Ln(0.0);
$this->fpdf->Cell(5.65,0,'',0,0,'C');
$this->fpdf->Cell(0,0,$nama,0,0,'L');
$this->fpdf->Ln(0.0);
$this->fpdf->Cell(9.75,0,'',0,0,'C');
$this->fpdf->Cell(0,0,$nama,0,0,'L');
$this->fpdf->Ln(0.0);
$this->fpdf->Cell(13.9,0,'',0,0,'C');
$this->fpdf->Cell(0,0,$nama,0,0,'L');

$this->fpdf->SetFont('Arial','',11);
$this->fpdf->Ln(0.5);
$this->fpdf->Cell(1.5,0,'',0,0,'C');
$this->fpdf->Cell(0,0,'NIP. 01.03.01',0,0,'L');
$this->fpdf->Ln(0.0);
$this->fpdf->Cell(5.65,0,'',0,0,'C');
$this->fpdf->Cell(0,0,'NIP.07.03.05',0,0,'L');
/*
$this->fpdf->Ln(0.0);
$this->fpdf->Cell(12.5,0,$nama,0,0,'R');
$this->fpdf->Ln(0.0);
$this->fpdf->Cell(20.7,0,$nama,0,0,'R');
$this->fpdf->Ln(0.0);
$this->fpdf->Cell(29,0,$nama,0,0,'R');

/*
$this->fpdf->Ln(0.4);
$this->fpdf->SetFont('Times','',10);
$y=$this->fpdf->GetX();
$this->fpdf->SetX($y+1.5);
$this->fpdf->Cell(5.7,0.5,'DIREKTORAT JENDERAL PAJAK',0,0,'L');
$this->fpdf->Cell(0.05,0.5,"",'TLBR',0,'C',1);
$this->fpdf->SetFont('Times','B',24);
$this->fpdf->Cell(5.3,0.5,'',0,0,'C');
$this->fpdf->Cell(0.05,0.5,"",'TLBR',0,'C',1);
$this->fpdf->SetFont('Times','',12);
$this->fpdf->Cell(6.6,0.5,'              LEMBAR',0,0,'L');
$this->fpdf->Ln(0.4);
$this->fpdf->SetFont('Times','',10);
$y=$this->fpdf->GetX();
$this->fpdf->SetX($y+1.5);
$this->fpdf->Cell(5.7,0.85,'','R','L');
$this->fpdf->Cell(0.05,0.85,"",'TLBR',0,'C',1);
$this->fpdf->SetFont('Times','B',24);
$this->fpdf->Cell(5.3,0.85,'(SSP)',0,0,'C');
$this->fpdf->Cell(0.05,0.85,"",'TLBR',0,'C',1);
$this->fpdf->SetFont('Times','',12);
$this->fpdf->Cell(6.6,0.85,'              Untuk Arsip WP',0,0,'L');

*/

/******
$this->fpdf->Ln();
$this->fpdf->SetFont('Times','B',12);
$this->fpdf->Cell(0.05,0.25,"",'TLBR',0,'C',1);
$this->fpdf->Cell(19.5,0.25,'','LR','L');
$this->fpdf->Cell(0.05,0.25,"",'TLBR',0,'C',1);

$this->fpdf->Ln();
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);
$this->fpdf->Cell(3.5,0.7,'NPWP','L',0,'L');
$this->fpdf->Cell(0.5,0.7,':',0,0,'C');
$this->fpdf->SetFont('Times','',12);

$this->fpdf->Cell(0.7,0.7,substr($npwp, 0, 1),'LBR',0,'C');
$this->fpdf->Cell(0.7,0.7,substr($npwp, 1, 1),'BR',0,'C');
$this->fpdf->Cell(0.5,0.7,".",0,0,'C');
$this->fpdf->Cell(0.7,0.7,substr($npwp, 2, 1),'LBR',0,'C');
$this->fpdf->Cell(0.7,0.7,substr($npwp, 3, 1),'BR',0,'C');
$this->fpdf->Cell(0.7,0.7,substr($npwp, 4, 1),'BR',0,'C');
$this->fpdf->Cell(0.5,0.7,".",0,0,'C');
$this->fpdf->Cell(0.7,0.7,substr($npwp, 5, 1),'LBR',0,'C');
$this->fpdf->Cell(0.7,0.7,substr($npwp, 6, 1),'BR',0,'C');
$this->fpdf->Cell(0.7,0.7,substr($npwp, 7, 1),'BR',0,'C');
$this->fpdf->Cell(0.5,0.7,".",0,0,'C');
$this->fpdf->Cell(0.7,0.7,substr($npwp, 8, 1),'LBR',0,'C');
$this->fpdf->Cell(0.5,0.7,"-",0,0,'C');
$this->fpdf->Cell(0.7,0.7,substr($npwp, 9, 1),'LBR',0,'C');
$this->fpdf->Cell(0.7,0.7,substr($npwp, 10, 1),'BR',0,'C');
$this->fpdf->Cell(0.7,0.7,substr($npwp, 11, 1),'BR',0,'C');
$this->fpdf->Cell(0.5,0.7,".",0,0,'C');
$this->fpdf->Cell(0.7,0.7,substr($npwp, 12, 1),'LBR',0,'C');
$this->fpdf->Cell(0.7,0.7,substr($npwp, 13, 1),'BR',0,'C');
$this->fpdf->Cell(0.7,0.7,substr($npwp, 14, 1),'BR',0,'C');
$this->fpdf->Cell(2.5,0.7,"",'R',0,'C');
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);

$this->fpdf->SetFont('Times','I',8);
$this->fpdf->Ln();
$this->fpdf->Cell(0.05,0.5,"",'TLBR',0,'C',1);
$this->fpdf->Cell(19.5,0.5,'Diisi sesuai dengan Nomor Pokok Wajib Pajak yang dimiliki','LR',0,'L');
$this->fpdf->Cell(0.05,0.5,"",'TLBR',0,'C',1);

$this->fpdf->SetFont('Times','B',12);
$this->fpdf->Ln();
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);
$this->fpdf->Cell(3.5,0.7,'NAMA WP','L',0,'L');
$this->fpdf->Cell(0.5,0.7,':',0,0,'C');
$this->fpdf->SetFont('Times','',12);
$this->fpdf->Cell(15.5,0.7,"$nama",'R',0,'L');
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);

$this->fpdf->SetFont('Times','B',12);
$this->fpdf->Ln();
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);
$this->fpdf->Cell(3.5,0.7,'ALAMAT','L',0,'L');
$this->fpdf->Cell(0.5,0.7,':',0,0,'C');
$this->fpdf->SetFont('Times','',12);
$this->fpdf->Cell(15.5,0.7,"$alamat",'R',0,'L');
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);

$this->fpdf->SetFont('Times','B',12);
$this->fpdf->Ln();
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);
$this->fpdf->Cell(3.5,0.7,'','L',0,'L');
$this->fpdf->Cell(0.5,0.7,'',0,0,'C');
$this->fpdf->SetFont('Times','',12);
$this->fpdf->Cell(15.5,0.7,'','R',0,'L');
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);

$this->fpdf->Ln();
$this->fpdf->Cell(19.6,0.05,"",'TLBR',0,'C',1);

$this->fpdf->Ln();
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);
$this->fpdf->Cell(4.7,0.7,"MAP/Kode Jenis Pajak",'L',0,'L');
$this->fpdf->Cell(3.75,0.7,"Kode Jenis Setoran",'R',0,'L');
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);
$this->fpdf->Cell(11,0.7,"Uraian Pembayaran",'LR',0,'C');
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);

$this->fpdf->Ln();
$this->fpdf->Cell(0.05,0.3,"",'TLBR',0,'C',1);
$this->fpdf->Cell(4.7,0.3,"",0,0,'L');
$this->fpdf->Cell(3.75,0.3,'',0,0,'L');
$this->fpdf->Cell(0.05,0.3,"",'TLBR',0,'C',1);
$this->fpdf->Cell(11,0.3,substr($keterangan, 0, 58),'LR',0,'C');
$this->fpdf->Cell(0.05,0.3,"",'TLBR',0,'C',1);

$this->fpdf->Ln();
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);
$this->fpdf->Cell(0.2,0.7,"",'L',0,'L');
$this->fpdf->Cell(0.6,0.7,substr($jenis_pajak, 0, 1),'LBR',0,'C');
$this->fpdf->Cell(0.6,0.7,substr($jenis_pajak, 1, 1),'BR',0,'C');
$this->fpdf->Cell(0.6,0.7,substr($jenis_pajak, 2, 1),'BR',0,'C');
$this->fpdf->Cell(0.6,0.7,substr($jenis_pajak, 3, 1),'BR',0,'C');
$this->fpdf->Cell(0.6,0.7,substr($jenis_pajak, 4, 1),'BR',0,'C');
$this->fpdf->Cell(0.6,0.7,substr($jenis_pajak, 5, 1),'BR',0,'C');
$this->fpdf->Cell(1.55,0.7,"",0,0,'C');
$this->fpdf->Cell(0.7,0.7,substr($kode_setoran, 0, 1),'LBR',0,'C');
$this->fpdf->Cell(0.7,0.7,substr($kode_setoran, 1, 1),'BR',0,'C');
$this->fpdf->Cell(0.7,0.7,substr($kode_setoran, 2, 1),'BR',0,'C');
$this->fpdf->Cell(1,0.7,"",0,0,'C');
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);
$this->fpdf->Cell(11,0.7,substr($keterangan, 58, 58),'LR',0,'C');
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);

$this->fpdf->Ln();
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);
$this->fpdf->Cell(4.7,0.7,'','L',0,'L');
$this->fpdf->Cell(3.75,0.7,'','R',0,'L');
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);
$this->fpdf->Cell(11,0.7,substr($keterangan, 116, 58),'LR',0,'C');
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);

$this->fpdf->Ln();
$this->fpdf->Cell(19.6,0.05,"",'TLBR',0,'C',1);

$this->fpdf->SetFont('Times','B',12);
$this->fpdf->Ln();
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);
$this->fpdf->Cell(14.4,0.7,'Masa Pajak','L',0,'C');
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);
$this->fpdf->SetFont('Times','',13);
$this->fpdf->Cell(5.05,0.7,'Tahun','LR',0,'C');
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);

$this->fpdf->SetFont('Times','B',12);
$this->fpdf->Ln();
$this->fpdf->Cell(0.05,1,"",'TLBR',0,'C',1);
$this->fpdf->Cell(1.2,1,'Jan','TLBR',0,'C');
$this->fpdf->Cell(1.2,1,'Peb','TBR',0,'C');
$this->fpdf->Cell(1.2,1,'Mar','TBR',0,'C');
$this->fpdf->Cell(1.2,1,'Apr','TBR',0,'C');
$this->fpdf->Cell(1.2,1,'Mei','TBR',0,'C');
$this->fpdf->Cell(1.2,1,'Jun','TBR',0,'C');
$this->fpdf->Cell(1.2,1,'Jul','TBR',0,'C');
$this->fpdf->Cell(1.2,1,'Ags','TBR',0,'C');
$this->fpdf->Cell(1.2,1,'Sep','TBR',0,'C');
$this->fpdf->Cell(1.2,1,'Okt','TBR',0,'C');
$this->fpdf->Cell(1.2,1,'Nop','TBR',0,'C');
$this->fpdf->Cell(1.2,1,'Des','TBR',0,'C');
$this->fpdf->Cell(0.05,1,"",'TLBR',0,'C',1);
$this->fpdf->SetFont('Times','',12);
$this->fpdf->Cell(1.2,0.7,"",'L',0,'C');
//$this->fpdf->Cell(0.7,0.7,substr($laporan_data['tahun'], 0, 1),'LBR',0,'C');
//$this->fpdf->Cell(0.7,0.7,substr($laporan_data['tahun'], 1, 1),'BR',0,'C');
//$this->fpdf->Cell(0.7,0.7,substr($laporan_data['tahun'], 2, 1),'BR',0,'C');
//$this->fpdf->Cell(0.7,0.7,substr($laporan_data['tahun'], 3, 1),'BR',0,'C');
$this->fpdf->Cell(1.05,0.7,'',0,0,'C');
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);

$this->fpdf->SetFont('Times','I',8);
$this->fpdf->Ln();
$y=$this->fpdf->GetX();
$this->fpdf->SetX($y+14.5);
$this->fpdf->Cell(5.05,0.3,'Diisi tahun terutangnya pajak','LR',0,'C');
$this->fpdf->Cell(0.05,0.3,"",'TLBR',0,'C',1);

$this->fpdf->SetFont('Times','I',8);
$this->fpdf->Ln();
$this->fpdf->Cell(0.05,0.4,"",'TLBR',0,'C',1);
$this->fpdf->Cell(14.4,0.4,'Beri tanda silang pada salah satu kolom bulan untuk masa yang berkenaan','LR',0,'L');
$this->fpdf->Cell(0.05,0.4,"",'TLBR',0,'C',1);
$this->fpdf->Cell(5.05,0.4,'','LR',0,'C');
$this->fpdf->Cell(0.05,0.4,"",'TLBR',0,'C',1);

$this->fpdf->Ln();
$this->fpdf->Cell(19.6,0.05,"",'TLBR',0,'C',1);

$this->fpdf->Ln();
$this->fpdf->SetFont('Times','B',12);
$this->fpdf->Cell(0.05,0.25,"",'TLBR',0,'C',1);
$this->fpdf->Cell(19.5,0.25,'','LR',0,'L');
$this->fpdf->Cell(0.05,0.25,"",'TLBR',0,'C',1);

$this->fpdf->Ln();
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);
$this->fpdf->Cell(3.5,0.7,'Nomor Ketetapan','L',0,'L');
$this->fpdf->Cell(0.5,0.7,':',0,0,'C');
$this->fpdf->SetFont('Times','',12);
$this->fpdf->Cell(0.7,0.7,'','LBR',0,'C');
$this->fpdf->Cell(0.7,0.7,'','BR',0,'C');
$this->fpdf->Cell(0.7,0.7,'','BR',0,'C');
$this->fpdf->Cell(0.7,0.7,'','BR',0,'C');
$this->fpdf->Cell(0.7,0.7,'','BR',0,'C');
$this->fpdf->Cell(0.5,0.7,'/',0,0,'C');
$this->fpdf->Cell(0.7,0.7,'','LBR',0,'C');
$this->fpdf->Cell(0.7,0.7,'','BR',0,'C');
$this->fpdf->Cell(0.7,0.7,'','BR',0,'C');
$this->fpdf->Cell(0.5,0.7,'/',0,0,'C');
$this->fpdf->Cell(0.7,0.7,'','LBR',0,'C');
$this->fpdf->Cell(0.7,0.7,'','BR',0,'C');
$this->fpdf->Cell(0.5,0.7,'/',0,0,'C');
$this->fpdf->Cell(0.7,0.7,'','LBR',0,'C');
$this->fpdf->Cell(0.7,0.7,'','BR',0,'C');
$this->fpdf->Cell(0.7,0.7,'','BR',0,'C');
$this->fpdf->Cell(0.5,0.7,'/',0,0,'C');
$this->fpdf->Cell(0.7,0.7,'','LBR',0,'C');
$this->fpdf->Cell(0.7,0.7,'','BR',0,'C');
$this->fpdf->Cell(3,0.7,'',0,0,'L');
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);

$this->fpdf->SetFont('Times','I',8);
$this->fpdf->Ln();
$this->fpdf->Cell(0.05,0.5,"",'TLBR',0,'C',1);
$this->fpdf->Cell(19.5,0.5,'Diisi sesuai Nomor Ketetapan : STP, SKPKB, SKPKBT','LR',0,'L');
$this->fpdf->Cell(0.05,0.5,"",'TLBR',0,'C',1);

$this->fpdf->Ln();
$this->fpdf->Cell(19.6,0.05,"",'TLBR',0,'C',1);

$this->fpdf->Ln();
$this->fpdf->SetFont('Times','B',12);
$this->fpdf->Cell(0.05,0.25,"",'TLBR',0,'C',1);
$this->fpdf->Cell(7,0.25,'','LR',0,'L');
$this->fpdf->Cell(0.05,0.25,"",'TLBR',0,'C',1);
$this->fpdf->Cell(12.45,0.25,'','LR',0,'L');
$this->fpdf->Cell(0.05,0.25,"",'TLBR',0,'C',1);

$this->fpdf->Ln();
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);
$this->fpdf->Cell(7,0.7,'Jumlah Pembayaran','L',0,'L');
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);
$this->fpdf->SetFont('Times','',12);
$this->fpdf->Cell(2.15,0.7,'Terbilang',0,0,'C');
$this->fpdf->Cell(0.5,0.7,':',0,0,'C');
$this->fpdf->Cell(9.8,0.7,'',0,0,'C');
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);

$this->fpdf->SetFont('Times','I',8);
$this->fpdf->Ln();
$this->fpdf->Cell(0.05,0.2,"",'TLBR',0,'C',1);
$this->fpdf->Cell(7,0.2,'Diisi dengan rupiah penuh','LR',0,'L');
$this->fpdf->Cell(0.05,0.2,"",'TLBR',0,'C',1);
$this->fpdf->SetFont('Times','',12);
$this->fpdf->Cell(12.45,0.2,substr($terbilang, 0, 70),'LR',0,'C');
$this->fpdf->Cell(0.05,0.2,"",'TLBR',0,'C',1);

$this->fpdf->Ln();
$this->fpdf->SetFont('Times','',12);
$this->fpdf->Cell(0.05,0.25,"",'TLBR',0,'C',1);
$this->fpdf->Cell(7,0.25,'','LR',0,'L');
$this->fpdf->Cell(0.05,0.25,"",'TLBR',0,'C',1);
$this->fpdf->Cell(12.45,0.25,'','LR',0,'L');
$this->fpdf->Cell(0.05,0.25,"",'TLBR',0,'C',1);

$this->fpdf->Ln();
$this->fpdf->SetFont('Times','',12);
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);
$this->fpdf->Cell(7,0.7,"Rp $jumlah",'LR',0,'L');
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);
$this->fpdf->Cell(12.45,0.7,substr($terbilang, 70, 70),'LR',0,'C');
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);

$this->fpdf->Ln();
$this->fpdf->Cell(19.6,0.05,"",'TLBR',0,'C',1);

$this->fpdf->Ln();
$this->fpdf->SetFont('Times','B',12);
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);
$this->fpdf->Cell(10,0.7,'Diterima oleh Kantor Penerima Pembayaran','LR',0,'C');
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);
$this->fpdf->Cell(9.45,0.7,'Wajib Pajak/Penyetor','LR',0,'C');
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);

$this->fpdf->Ln();
$this->fpdf->SetFont('Times','B',12);
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);
$this->fpdf->Cell(10,0.7,'Tanggal ...................','LR',0,'C');
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);
$this->fpdf->Cell(9.45,0.7,"$kota, tgl $sekarang",'LR',0,'C');
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);

$this->fpdf->SetFont('Times','I',8);
$this->fpdf->Ln();
$this->fpdf->Cell(0.05,0.2,"",'TLBR',0,'C',1);
$this->fpdf->Cell(10,0.2,'Cap dan tanda tangan','LR',0,'C');
$this->fpdf->Cell(0.05,0.2,"",'TLBR',0,'C',1);
$this->fpdf->Cell(9.45,0.2,'Cap dan tanda tangan','LR',0,'C');
$this->fpdf->Cell(0.05,0.2,"",'TLBR',0,'C',1);

$this->fpdf->Ln();
$this->fpdf->SetFont('Times','',12);
$this->fpdf->Cell(0.05,2,"",'TLBR',0,'C',1);
$this->fpdf->Cell(10,2,'','LR',0,'C');
$this->fpdf->Cell(0.05,2,"",'TLBR',0,'C',1);
$this->fpdf->Cell(9.45,2,'','LR',0,'C');
$this->fpdf->Cell(0.05,2,"",'TLBR',0,'C',1);

$this->fpdf->Ln();
$this->fpdf->SetFont('Times','B',12);
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);
$this->fpdf->Cell(2.5,0.7,'Nama Jelas','L',0,'C');
$this->fpdf->Cell(0.2,0.7,':',0,0,'C');
$this->fpdf->SetFont('Times','',12);
$this->fpdf->Cell(7.3,0.7,'',0,0,'L');
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);
$this->fpdf->SetFont('Times','B',12);
$this->fpdf->Cell(2.5,0.7,'Nama Jelas','L',0,'C');
$this->fpdf->Cell(0.2,0.7,':',0,0,'C');
$this->fpdf->SetFont('Times','',12);
$this->fpdf->Cell(6.75,0.7,"$nama_pemilik",0,0,'L');
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);

$this->fpdf->Ln();
$this->fpdf->Cell(19.6,0.05,"",'TLBR',0,'C',1);

$this->fpdf->Ln();
$this->fpdf->SetFont('Times','B',12);
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);
$this->fpdf->Cell(19.5,0.7,'Ruang Validasi Kantor Penerima Pembayaran','L',0,'L');
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);

$this->fpdf->Ln();
$this->fpdf->SetFont('Times','',12);
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);
$this->fpdf->Cell(19.5,0.7,'','L',0,'L');
$this->fpdf->Cell(0.05,0.7,"",'TLBR',0,'C',1);

$this->fpdf->Ln();
$this->fpdf->SetFont('Times','',12);
$this->fpdf->Cell(0.05,1.5,"",'TLBR',0,'C',1);
$this->fpdf->Cell(19.5,1.5,'','L',0,'L');
$this->fpdf->Cell(0.05,1.5,"",'TLBR',0,'C',1);

$this->fpdf->Ln();
$this->fpdf->Cell(19.6,0.05,"",'TLBR',0,'C',1);

$this->fpdf->SetFont('Times','I',8);
$this->fpdf->Ln(0.2);
$this->fpdf->Cell(19.5,0.5,'Diisi sesuai buku petunjuk pengisian',0,0,'L');

$this->fpdf->Ln(1);
$this->fpdf->SetFont('Times','',12);
$this->fpdf->Cell(19.5,0.5,'F.2.0.32.01',0,0,'L');

$this->fpdf->AddPage();
/*
$this->fpdf->Ln(1.2);
$this->fpdf->Image('images/laporan/logo_pajak.jpg',0.8,1.65,1.8,1.8);
$this->fpdf->SetFont('Times','',10);
$y=$this->fpdf->GetX();
$this->fpdf->SetX($y+1.5);
$this->fpdf->Cell(5.7,0.5,'DEPARTEMEN KEUANGAN R.I',0,0,'L');
$this->fpdf->Cell(0.05,0.5,"",'TLBR',0,'C',1);
$this->fpdf->SetFont('Times','B',12);
$this->fpdf->Cell(5.3,0.5,'SURAT SETORAN PAJAK',0,0,'C');
$this->fpdf->Cell(0.05,0.5,"",'TLBR',0,'C',1);
$this->fpdf->SetFont('Times','',12);
$this->fpdf->Cell(6.6,0.5,'',0,0,'L');
$this->fpdf->Image('images/laporan/2.jpg',17.4,1.65,1,1.3);
*/
$this->fpdf->Output("Perjainjian_Gadaian.pdf","I");
?>
